home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ WinNT Max User.xpl
< prev
next >
Wrap
Text File
|
1999-06-12
|
1KB
|
58 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="2"
"COUNT"="1"
"UIPATH"="Network\Server"
"NAME"="Max. User Connections"
"LANGUAGE"="VBScript"
"TEXT 1"="Max. Connects"
"DESCRIPTION 1"="Use this plug-in to change the maximum count of users that are allowed to connect to this machine at a time."
"DESCRIPTION 2"="This setting is useful if the server is slow."
"DESCRIPTION 3"="To restore the original settings, clear the field."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Version 1.0"
sP="HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Users"
Sub Plugin_Initialize
If GetWinVer=2 then
i=RegReadValue(sP)
SetUIElement 1,i
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
i=GetUIElement(1)
if i="" then
'Delete Value
i=RegReadValue(sP)
if not isEmpty(i) then
Call RegDeleteValue(sP)
end if
else
'Set Value
if IsNumeric(i) then
Call RegWriteValue(sP,i,2)
Call Restart
else
Call DataInvalid("Please enter a valid numeric value.")
end if
end if
End Sub
Sub Plugin_Terminate
End Sub